package com.example.food_contract_system.service;

import com.example.food_contract_system.domain.Boss;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.food_contract_system.util.R;
import com.example.food_contract_system.vo.AddFoodVo;
import com.example.food_contract_system.vo.BossUpdateVo;
import com.example.food_contract_system.vo.FoodByImgListVo;

/**
* @author Lhy
* @description 针对表【boss】的数据库操作Service
* @createDate 2023-07-06 09:22:01
*/
public interface BossService extends IService<Boss> {

    R getManagerAgencyList();

    R updateStatus(String opt, String id);

    R deleteAgency(String password, String id, String bid);

    R getStatusList(String status);

    R batchApproval(String list, String opt);

    R addFood(AddFoodVo addFoodVo);

    R updateFoodMsg(FoodByImgListVo foodByImgListVo);

    R getOrderAgencyList();

    R getBoss(String bId);

    R updatePwd(BossUpdateVo bossUpdateVo, String bid);

    R updatePwd2(BossUpdateVo bossUpdateVo, String bid);
}
